//
//  NewsSettingsCell.h
//  KEREN
//
//  Created by MW on 2023/3/24.
//

#import "BaseTableViewCell.h"

NS_ASSUME_NONNULL_BEGIN
@protocol SettingCellDelegate<NSObject>

-(void)sureSwitch:(UITableViewCell *)cell gear:(int)gear;

@end

@interface NewsSettingsCell : BaseTableViewCell
@property (weak, nonatomic) IBOutlet UILabel *titleLbl;
@property (weak, nonatomic) IBOutlet UILabel *decLbl;
@property (weak, nonatomic) IBOutlet UISwitch *isOpenSwitch;
@property (nonatomic, strong) UIView *bottomView;
@property (weak, nonatomic) IBOutlet UIImageView *rightBtn;
@property (nonatomic, strong) UILabel *chooseLbl;
@property (weak, nonatomic) IBOutlet UILabel *countLbl;
@property (nonatomic, strong) NSMutableArray *btnArrM;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *centerConstraint;
@property (nonatomic, assign) BOOL isBleLock;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *topConstraint;
@property (nonatomic, assign) int ebike_id;
@property (nonatomic, assign) id<SettingCellDelegate> delegate;
- (void)setBottomViewWithIsBleLock:(BOOL)isBleLock andCurrentCount:(int)count;
@end

NS_ASSUME_NONNULL_END
